package com.leigang.resource.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.leigang.common.parent.enums.ServerTypeEnums;
import lombok.Data;

import java.util.Date;

/**
 * @author leig-a
 * @version 1.0
 * @desc
 * @date 2023/2/16 16:56
 */
@TableName("server_config")
@Data
public class ServerConfig {

    @TableId
    private String id;

    @TableField("server_name")
    private String serverName;

    @TableField("server_ip")
    private String serverIp;

    @TableField("server_owner")
    private String serverOwner;

    @TableField("server_type")
    private ServerTypeEnums serverType;

    @TableField("client_monitoring_address")
    private String clientMonitoringAddress;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

}
